/** 
 * @Title: UserService.java 
 * @Package com.prs.um.usermanager.service 
 * @Description: 此类事用户服务类
 * @author flybonew@163.com 
 * @date 2013-1-7 上午10:53:13 
 * @version V1.0 
 */  
package com.prs.um.usermanager.service;

import java.util.List;

import com.prs.um.usermanager.dto.User;

/** 
 * @ClassName: UserService 
 * @Description: 用户管理类，此类只是实现基本的用户管理
 * @author flybonew@163.com
 * @date 2013-1-7 上午10:53:13 
 * 
 */
public interface UserService {
	
	public User addUser(User user);
	
	public void updateUser(User user);
	
	public void deleteUser(User user);
	
	public User seleteUserById(String userId);
	
	public User seleteUserByLoginId(String loginId);
	
	public List<User> selectUserByDeptId(String deptId,Integer state);
	
	public List<User> selectUserByDutyId(String dutyId,Integer state);
	
	public List<User> selectUserByDeptName(String deptName,Integer state);
	
	public List<User> selectUserByDutyName(String dutyName,Integer state);
}
